const getters = {
  token: state => state.user.token,
  username: state => state.user.username,
  nickname: state => state.user.nickname,
  roles: state => state.user.roles,
  roletype: state => state.user.roletype,
}
export default getters